package com.xjtu.se.homework.client.feedback.sevice.impl;

import com.xjtu.se.homework.client.feedback.dao.UserFeedbackDao;
import com.xjtu.se.homework.client.feedback.dto.BackDto;
import com.xjtu.se.homework.client.feedback.sevice.UserFeedbackService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;

@Service
@Transactional
public class UserFeedbackServiceImpl implements UserFeedbackService {
    @Resource
    private UserFeedbackDao dao;

    @Override
    public void upload(BackDto dto) {
        dao.upload(dto);
    }
}
